package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CurrentAffairsVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

    @ApiModelProperty(value = "封面缩略图")
    private String coverThumbnail;

    @ApiModelProperty(value = "文章名称")
    private String articleName;

    @ApiModelProperty(value = "资讯类型")
    private Long currentAffairsTypeId;

    @ApiModelProperty(value = "资讯名称")
    private String currentAffairsType;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "推荐位")
    private Boolean isRecommend;

}
